package com.atech.ebayadmin.system.service;

import java.util.List;

import com.atech.ebayadmin.common.pager.Pager;
import com.atech.ebayadmin.system.model.Role;
import com.atech.ebayadmin.system.model.SystemConfig;
import com.atech.ebayadmin.system.model.User;
import com.atech.ebayadmin.system.vo.UserVO;



public interface ISystemService{
    public SystemConfig getSystemConfig()throws Exception;
    
    public List<String> listAllNeedFiltUrl()throws Exception;
    public boolean isHasPermission(Integer roleId,String url);
    public UserVO login(String userName,String password) throws Exception;
    public void updatePassword(User user) throws Exception;
    
    public Integer saveUser(User po) throws Exception;
    public User getUser(Integer userId) throws Exception;
    public void updateUser(User po) throws Exception;
    public List<User> listUser(String userName, Pager pager) throws Exception;
	public List<Role> listAllRole()throws Exception;
	public void deleteUser(Integer userId) throws Exception;
    
}
